package com.nengchuan.kbms.dfs.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nengchuan.model.model.NcPageInfo;
import com.nengchuan.kbms.dfs.entity.FeignDemoDTO;
import com.nengchuan.kbms.dfs.entity.dto.DemoDTO;
import com.nengchuan.kbms.dfs.entity.dto.DemoPageDTO;
import com.nengchuan.kbms.dfs.entity.po.Demo;
import com.nengchuan.kbms.dfs.entity.vo.DemoPageVO;
import com.nengchuan.kbms.dfs.entity.vo.DemoVO;

import java.util.List;

/**
 * <p>
 * 示例表 服务类
 * </p>
 *
 * @author luoping
 * @since 2020-03-19
 */
public interface DemoService extends IService<Demo> {

    Long insert(DemoDTO entityDTO);

    Boolean update(DemoDTO entityDTO);

    Boolean delete(Long id);

    DemoVO get(Long id);

    NcPageInfo<DemoPageVO> page(DemoPageDTO demoPageDTO);

    List<FeignDemoDTO> listByIds(String ids);
}
